package cn.cheneyjoo.Model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Product
 * @author 
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "Product")
public class Product implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type= IdType.AUTO)
    private Integer id;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品类型
     */
    private Integer productType;

    /**
     * 产品价格
     */
    private Long productPrice;

    /**
     * 产品库存
     */
    private Integer productStock;

    /**
     * 产品状态
     */
    private Integer productStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}